from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema

from my315ok.fangcan import fangcanMessageFactory as _

class IrenthouseFolderView(Interface):
    """ mark interface for renthouse folder"""
    
class IhouseFolderView(Interface):
    """ mark interface for house folder"""
    
class IsecondhandhouseFolderView(Interface):
    """ mark interface for secondhandhouse folder"""
class IsubdistrictFolderView(Interface):
    """ mark interface for subdistrict folder"""
class InewhouseFolderView(Interface):
    """ mark interface for new house folder"""
           
class Ihouse(Interface):
    """house information"""

    # -*- schema definition goes here -*-
    deposit = schema.TextLine(
        title=_(u"deposit"),
        required=False,
        description=_(u"Field description"),
    )
#
    longitude = schema.Float(
        title=_(u"longitude"),
        required=False,
        description=_(u"Field description"),
    )
#
    latitude = schema.Float(
        title=_(u"latitude"),
        required=False,
        description=_(u"Field description"),
    )
#
    toilet = schema.TextLine(
        title=_(u"toilet"),
        required=False,
        description=_(u""),
    )
#
    category = schema.TextLine(
        title=_(u"category"),
        required=True,
        description=_(u""),
    )
#
    House_direction = schema.TextLine(
        title=_(u"house direction"),
        required=False,
        description=_(u""),
    )
#
    Create_time = schema.Date(
        title=_(u"created time"),
        required=False,
        description=_(u""),
    )
#
    Rent_unitprice = schema.TextLine(
        title=_(u"rent unit price"),
        required=False,
        description=_(u""),
    )
#
    Sellingprice = schema.TextLine(
        title=_(u"selling price"),
        required=False,
        description=_(u""),
    )
#
    Curr_state = schema.TextLine(
        title=_(u"current state"),
        required=False,
        description=_(u""),
    )
#
    Decorate = schema.TextLine(
        title=_(u"decorate"),
        required=False,
        description=_(u""),
    )
#
    Overday = schema.Date(
        title=_(u"over day"),
        required=False,
        description=_(u""),
    )
#
    Record_no = schema.TextLine(
        title=_(u"record number"),
        required=False,
        description=_(u""),
    )
#
    Level = schema.TextLine(
        title=_(u"level"),
        required=False,
        description=_(u""),
    )
#
    Use = schema.TextLine(
        title=_(u"house using"),
        required=False,
        description=_(u""),
    )
#
    Owner_name = schema.TextLine(
        title=_(u"owner name"),
        required=False,
        description=_(u""),
    )
#
    Lastfollow_time = schema.Date(
        title=_(u"last follow time"),
        required=False,
        description=_(u""),
    )
#
    House_no = schema.TextLine(
        title=_(u"house number"),
        required=False,
        description=_(u""),
    )
#
    Area = schema.TextLine(
        title=_(u"area"),
        required=False,
        description=_(u""),
    )
#
    Commission_no = schema.TextLine(
        title=_(u"commission number"),
        required=False,
        description=_(u""),
    )
#
    Country = schema.TextLine(
        title=_(u"country"),
        required=False,
        description=_(u""),
    )
#
    Biztype = schema.TextLine(
        title=_(u"biz type"),
        required=False,
        description=_(u""),
    )
#
    Mianji = schema.Int(
        title=_(u"house mianji"),
        required=False,
        description=_(u""),
    )
#
    Estate_type = schema.TextLine(
        title=_(u"estate type"),
        required=False,
        description=_(u""),
    )
#
    Card_no = schema.TextLine(
        title=_(u"card number"),
        required=False,
        description=_(u""),
    )
#
    Propertyright = schema.TextLine(
        title=_(u"property right"),
        required=False,
        description=_(u""),
    )
#
    decorate_level = schema.TextLine(
        title=_(u"decorate level"),
        required=False,
        description=_(u""),
    )
#
    Pay_commision = schema.TextLine(
        title=_(u"pay commision"),
        required=False,
        description=_(u""),
    )
#
    Rent_price = schema.Int(
        title=_(u"rent price"),
        required=False,
        description=_(u""),
    )
#
    Sale_unitprice = schema.Int(
        title=_(u"unit price for sale"),
        required=False,
        description=_(u""),
    )
#
    Address = schema.TextLine(
        title=_(u"address"),
        required=True,
        description=_(u""),
    )
#
    Drawing_room = schema.Int(
        title=_(u"drawing room"),
        required=False,
        description=_(u""),
    )
#
    Pay_type = schema.TextLine(
        title=_(u"pay type"),
        required=False,
        description=_(u""),
    )
#
    Balcony = schema.TextLine(
        title=_(u"balcony"),
        required=False,
        description=_(u""),
    )
#
    Commissiontype = schema.TextLine(
        title=_(u"commission type"),
        required=False,
        description=_(u""),
    )
#
    Housestate = schema.TextLine(
        title=_(u"house state"),
        required=False,
        description=_(u""),
    )
#
    Owner_phone = schema.TextLine(
        title=_(u"owner phone"),
        required=False,
        description=_(u""),
    )
#
    Owner_orga_name = schema.TextLine(
        title=_(u"department name"),
        required=False,
        description=_(u""),
    )
#
    Build_year = schema.TextLine(
        title=_(u"build year"),
        required=False,
        description=_(u""),
    )
#
    Layer = schema.Int(
        title=_(u"Layer"),
        required=False,
        description=_(u""),
    )
#
    Commissiondate = schema.Date(
        title=_(u"commission date"),
        required=False,
        description=_(u""),
    )
#
    Room = schema.Int(
        title=_(u"room"),
        required=False,
        description=_(u""),
    )
#
    Lastmodify_time = schema.Date(
        title=_(u"last modify time"),
        required=False,
        description=_(u""),
    )
#
    Bigarea = schema.TextLine(
        title=_(u"city district"),
        required=False,
        description=_(u""),
    )
#
    Estate = schema.TextLine(
        title=_(u"building dictionary"),
        required=False,
        description=_(u""),
    )
#
    Remark = schema.Text(
        title=_(u"remark"),
        required=False,
        description=_(u""),
    )
#
    Total_layer = schema.Int(
        title=_(u"total layer"),
        required=False,
        description=_(u""),
    )
#
